import { createBrowserRouter,createHashRouter } from "react-router-dom";

import Entire from "../views/Entire";
import Login from "../views/Login";
import About from "../views/About";

import Layout from "../layout";

const router = createBrowserRouter([
  {
    path: "/login",
    element: <Login />,
  },
  {
    path: '/',
    element: <Layout />,
    children: [
      {
        // path: '/about',
        index:true,
        element: <About />,
      },
      {
        path: '/entire',
        element: <Entire />,
      },
    ]
  }
]);

export default router
